package com.future.future.movie.service.impl;


import com.future.future.commons.utils.PageUtils;
import com.future.future.commons.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.future.future.movie.dao.AwardsItemDao;
import com.future.future.movie.entity.AwardsItemEntity;
import com.future.future.movie.service.AwardsItemService;


@Service("awardsItemService")
public class AwardsItemServiceImpl extends ServiceImpl<AwardsItemDao, AwardsItemEntity> implements AwardsItemService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AwardsItemEntity> page = this.page(
                new Query<AwardsItemEntity>().getPage(params),
                new QueryWrapper<AwardsItemEntity>()
        );

        return new PageUtils(page);
    }

}